package hello;

import java.util.HashMap;

import javax.annotation.PostConstruct;

import org.springframework.stereotype.Service;

@Service
public class OrderService {

	private HashMap<String, String> orders=new HashMap<String, String>();
	
	@PostConstruct
	public void init(){
		orders.put("1", "一辆幻影劳斯莱斯");
		orders.put("2", "16楼MM");
	}
	
	public String findById(String id){
		return orders.get(id);
	}
	
	
}
